f = open("D:/Python/pack/bill.txt","r",encoding="UTF-8")
f2 = open("D:/Python/pack/text.txt","w",encoding="UTF-8")
for line in f:
    line1 = line.strip()
    str1 = line1.split(",")
    if str1[4] == "测试" :
        continue
    f2.write(line1)
    f2.write("\n")
f.close()
f2.close()
